<script type="text/javascript" src="/js/jquery.datatables.js"></script>
<script type="text/javascript" src="/js/app/friends-<?php echo $language ?>.js"></script>

<table id="friends">
    <thead>
    <tr>
        <th><?php echo lang('common.name'); ?></th>
        <th><?php echo lang('common.nick'); ?></th>
        <th><?php echo lang('common.address'); ?></th>
        <th><?php echo lang('common.email'); ?></th>
        <th><?php echo lang('common.phone'); ?></th>
    </tr>
    </thead>
    <tbody>
    <?php foreach ($friends as $friend): ?>
        <tr class="gradeX">
            <td><?php echo $friend['sName'] ?></td>
            <td><?php echo $friend['sLogin'] ?></td>
            <td><?php echo $friend['sAddress'] ?></td>
            <td class="center"><?php echo $friend['sEmail'] ?></td>
            <td class="center"><?php echo $friend['sPhone'] ?></td>
        </tr>
    <?php endforeach ?>
    </tbody>
</table>